package com.itheima.mapper;

import com.itheima.domain.Patient;

import java.util.List;

/*
 *Author:TH
 *Dete:2019/10/1419:35
 */
public interface PatientMapper{

    //查找全部患者
    List<Patient> findAll();

    //保存患者
    void save(Patient patient);

    //查找单个患者
    Patient findById(int pid);

    void change(Patient patient);
}
